﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TRPOP.Common
{
    /// <summary>
    /// 提交操作结果返回值
    /// </summary>
    public enum EnumSubmitResult
    {
        /// <summary>
        /// 操作成功
        /// </summary>
        Success = 1,
        /// <summary>
        /// 操作失败
        /// </summary>
        Failed = 0,
        /// <summary>
        /// 编号重复
        /// </summary>
        RepeatCode = -1,
        /// <summary>
        /// 名称重复
        /// </summary>
        RepeatName = -2,
        /// <summary>
        /// 有子分类存在
        /// </summary>
        HasSubCategory = -3,
        /// <summary>
        /// 分类下有信息
        /// </summary>
        CategoryHasInfo = -4
    }
}
